<?php

namespace app\common\model;

use think\Model;

class CategoryType extends Model
{
    protected $table = 'category_type';

    protected $createTime = 'created_at';

    protected $updateTime = 'updated_at';

    public function category()
    {
    	return $this->belongsTo('ActivityCategory', 'category_id');
    }
}
